package com.ruoyi.liborder.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class LibOrderClass extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    private Long classId;

    /**
     * 班级名称
     */
    @Excel(name = "班级名称")
    private String className;

    /**
     * 班级人数
     */
    @Excel(name = "班级人数")
    private Long classPersonNum;

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Long getClassPersonNum() {
        return classPersonNum;
    }

    public void setClassPersonNum(Long classPersonNum) {
        this.classPersonNum = classPersonNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("classId", getClassId())
                .append("className", getClassName())
                .append("classPersonNum", getClassPersonNum())
                .toString();
    }
}